package com.own.business.system.account.common.hook;

/**
 * AccountLogoutHook
 *
 * @author chenxueli
 * @date 2023-08-04 13:43:00
 */
public interface AccountLogoutHook {

    /**
     * 执行
     *
     * @param userId 用户id
     * @param reason 注销原因
     */
    void run(Long userId, String reason);

}
